<%@ page session="false"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/my.tld" prefix="my"%>
<%@ taglib uri="/WEB-INF/tld/user.tld" prefix="user"%>
<%@ taglib uri="/WEB-INF/tld/activity.tld" prefix="activity"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<fmt:setLocale value="zh_CN" />

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=2.0" />
<title>详情</title>
<c:import url="/WEB-INF/tpl/_include/_css.jsp" />
</head>
<body>
<div id="content" class="reg_bg">
	<!--header begin-->
	 <c:import url="/WEB-INF/tpl/_include/_header2.jsp" />
    <!--header end-->
    <!--main begin-->
    <div id="main">
    	<div class="reg_input">
        	<div class="reg_left">
                <ul class="space_ul" id="shopping_list">
                	<li>
                    	<strong class="f14"><fmt:formatDate value='${text.endtime}' pattern='yyyy年MM月dd'/></strong>
                        <div class="space_list f14">
                        	<h4><a href="#" target="_blank"><c:if test="${not empty text}">${my:txt(text.title)}</c:if></a></h4>
                            <h5>已传递<b class="f16 cor">${text.views}</b>人  发布人：<em class="cor">${my:txt(text.nickname)}</em></h5>
                        </div>
                    </li>
                </ul>
                <div class="text_tit">
                	<span>所属：  <c:if test="${empty result.city}"><a href="${basehost}portal.do${p1}&amp;do=Portal.layout">全国</a></c:if>
<c:if test="${not empty result.city}"><c:set var="sc" value="${my:city(result.city)}"/> <a href="${basehost}portal.do${p1}&amp;do=Portal.layout"><c:if test="${empty sc}">全国</c:if><c:if test="${not empty sc}">${my:txt(sc.name)}</c:if></a></c:if>
<c:forEach var="cc" items="${activity:pids(result.category)}" varStatus="status">
<c:set var="ca" value="${activity:category(cc)}"/>
&gt;<a href="${basehost}activity.do${p1}&amp;do=Activity.${activity:type(cc)}&amp;cid=${cc}">${ca.name}</a>
</c:forEach>
                  <a href="#" id="userAddActivity" cid="${result.category}">+&nbsp;关注此类活动</a>
                </div>
                <div class="text_box">
                	<h3>
                	 <span>活动适用地区：</span>${activity:area(text.id)}<br />
                	 <span>活动起止时间：</span><fmt:formatDate value='${text.starttime}' pattern='yyyy年MM月dd日'/> - <fmt:formatDate value='${text.endtime}' pattern='yyyy年MM月dd日'/> <br />
                	 <span>活动适用人群：</span>${text.person}</h3>
                    <h3><span>大妈说：</span></h3>
                    <p>${my:txt(text.content)}</p>
                </div>
                <div class="text_tit"><a href="javascript:void(0);" style="cursor:default;">摘自：${text.source} 活动截图</a></div>
                <div class="text_box">
                	<center><a  rel="facebox_" href="${activity:pic(text.url)}"><img src="${activity:pic(text.url)}" alt="" /></a></center> 
                </div>
                <div class="text_tit"><a href="javascript:void(0);" style="cursor:default;">参与评论...<c:if test="${pager.totalRows gt 0}">(共${pager.totalRows}条)</c:if></a></div>
                <div class="text_textarea"><textarea  name="user_publish_info" class="cypl" id="user_publish_info" >评论文字不超过50字。</textarea></div>
                <p class="save_btn"> 
                <input type="hidden"  id="_aid" value="${text.id}"/>
	            <input type="hidden"  id="_uid" value="${text.username}"/>
                <input type="button" value="提　交"  id="user_publish_button"  class="reg_btn" /></p>
                <div class="text_tit"><a href="javascript:void(0);" style="cursor:default;">大家说的...</a></div>
                <div class="text_pllist">
                	<ul id="shopping">  
                	  <c:forEach items="${posts}" var="c" varStatus="status">
                                 <li><span>
							    <a href="${basehost}portal.do${p1}&amp;do=Portal.my&amp;uid=${c.username}">${my:txt(c.nickname)} :‎</a></span>
							${my:emotion(c.content , true)}</li>
						</c:forEach>
                        
                    </ul>
                </div>
                <div class="page" id="shopping_list_counter" > <c:import url="/WEB-INF/tpl/tpl/_pager_full2.jsp" /> </div>
            </div>
            <div class="reg_right">                 
                <div class="encompass">
                	<h3>周围...</h3>
                    <p>预存话费送Ｇ３手机预存话费送Ｇ３手机预存话费送Ｇ３手机预存话费<span>[已传递31221人]</span></p>
                    <p>预存话费送Ｇ３手机预存话费送Ｇ３手机预存话费送Ｇ３手机预存话费<span>[已传递31221人]</span></p>
                    <p>预存话费送Ｇ３手机预存话费送Ｇ３手机预存话费送Ｇ３手机预存话费<span>[已传递31221人]</span></p>
                    <p>预存话费送Ｇ３手机预存话费送Ｇ３手机预存话费送Ｇ３手机预存话费<span>[已传递31221人]</span></p>
                    <p>预存话费送Ｇ３手机预存话费送Ｇ３手机预存话费送Ｇ３手机预存话费<span>[已传递31221人]</span></p>
                </div>
                <div class="encompass">
                	<h3>他们比较喜欢搞活动...</h3>
                    <dl class="infor_dl f14">
                        <dd><img src="images/163.jpg" alt="" /><span><ins><a href="#">关注</a></ins><em>网易</em></span></dd>
                        <dd><img src="images/163.jpg" alt="" /><span><ins><a href="#">关注</a></ins><em>网易</em></span></dd>
                        <dd><img src="images/163.jpg" alt="" /><span><ins><a href="#">关注</a></ins><em>网易</em></span></dd>
                        <dd><img src="images/163.jpg" alt="" /><span><ins><a href="#">关注</a></ins><em>网易</em></span></dd>
                    </dl>
                </div>
            </div>
            <div class="clr"></div>
        </div>
    </div>
    <!--main end-->
    <!--footer begin-->
     <c:import url="/WEB-INF/tpl/tpl/_footer.jsp" />
    <!--footer end-->          
    
</div>
</body>
</html>